﻿using System;
using System.Collections.Generic;
using System.Linq;
using Entalpy.dto;

namespace Entalpy.Model
{
    public interface IDataPreparer
    {
        IDictionary<double, double> GetRelation(IList<Data> Data);
        double[] GetLeastSquaresConstants(IDictionary<double, double> Points);
        IDictionary<double, double> GetLeastSquaresPoints(IDictionary<double, double> Points);
        double GetDelta(IDictionary<double, double> Points, IDictionary<double, double> Results);
    }
}
